package com.zjy.org.domain;

import com.zjy.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Employee extends BaseDomain implements Serializable {
    private String username;
    private String email;
    private String phone;
    private String salt;
    private String password;
    private String comfirmPassword; //用于前端注册时，重复密码的验证
    private Integer age;
    // 1 - 正常      0 - 禁用
    private Integer state = 0;
    private Long department_id;
    private Long logininfo_id;
    private Long shop_id;
    private Shop shop;
}
